/**
 * output package name
 */
package com.kingdee.eas.taskmanager;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TaskClass extends StringEnum
{
    public static final String FULLORGUNIT_VALUE = "10";
    public static final String ORGTREE_VALUE = "20";
    public static final String TEMPLATE_VALUE = "30";
    public static final String CUSTOMSYN_VALUE = "40";

    public static final TaskClass fullorgunit = new TaskClass("fullorgunit", FULLORGUNIT_VALUE);
    public static final TaskClass orgtree = new TaskClass("orgtree", ORGTREE_VALUE);
    public static final TaskClass template = new TaskClass("template", TEMPLATE_VALUE);
    public static final TaskClass customSyn = new TaskClass("customSyn", CUSTOMSYN_VALUE);

    /**
     * construct function
     * @param String taskClass
     */
    private TaskClass(String name, String taskClass)
    {
        super(name, taskClass);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TaskClass getEnum(String taskClass)
    {
        return (TaskClass)getEnum(TaskClass.class, taskClass);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TaskClass.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TaskClass.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TaskClass.class);
    }
}